package main.onemapview.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 标志物表
 * </p>
 *
 * @author H
 * @since 2022-12-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MarkerObject对象", description="标志物表")
public class MarkerObject implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "地址描述")
    private String address;

    @ApiModelProperty(value = "类别(1-企业，2-卡口,3-其他")
    private String markerType;

    @ApiModelProperty(value = "关联实体id(企业。卡口等id 预留字段,")
    private String associatedEntityId;

    @ApiModelProperty(value = "关联实体名")
    private String associatedEntityName;

    @ApiModelProperty(value = "logo图片地址")
    private String logoUrl;

    /**
     * 横坐标
     */
    @ApiModelProperty(value = "横坐标", name = "x_2d")
    @JsonProperty(value = "x_2d")
    @TableField("x_2d")
    private String abscissa;
    /**
     * 纵坐标
     */
    @ApiModelProperty(value = "纵坐标", name = "y_2d")
    @JsonProperty(value = "y_2d")
    @TableField("y_2d")
    private String ordinate;
    /**
     * 经度
     */
    @ApiModelProperty(value = "三维经度", name = "x_3d")
    @JsonProperty(value = "x_3d")
    @TableField("x_3d")
    private String longitude;
    /**
     * 维度
     */
    @ApiModelProperty(value = "三维维度", name = "y_3d")
    @JsonProperty(value = "y_3d")
    @TableField("y_3d")
    private String latitude;
    /**
     * 海拔
     */
    @ApiModelProperty(value = "三维海拔", name = "z_3d")
    @JsonProperty(value = "z_3d")
    @TableField("z_3d")
    private String height;


    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    private String delFlag;

    @ApiModelProperty(value = "绑定id")
    private String bindingId;


}
